
package com.xxx.yuedong.campaign.service.impl;

import com.xxx.yuedong.campaign.db.dao.SearchDao;
import com.xxx.yuedong.campaign.service.SearchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class SearchServiceImpl implements SearchService {

    @Autowired
    private SearchDao searchDao;

    @Override
    public ArrayList<HashMap> searchAll(String keyword) {
        ArrayList<HashMap> list = searchDao.searchAll(keyword);
        return  list;
    }
}
